import aiofiles
import os
async def move_file(src_path, dist_path):
    async with aiofiles.open(src_path, 'rb') as src:
        async with aiofiles.open(dist_path, 'wb') as dist:
           await dist.write(await src.read())
    os.remove(src_path)

async def copy_file(src_path, dist_path):
    async with aiofiles.open(src_path, 'rb') as src:
        async with aiofiles.open(dist_path, 'wb') as dist:
            await dist.write(await src.read())
